package com.whl.org.mapper;

import com.whl.basic.mapper.BaseMapper;
import com.whl.org.domain.Shop;
import com.whl.org.dto.ShopDto;

import java.util.List;


/**
 *  店铺mapper接口
 */
public interface ShopMapper extends BaseMapper<Shop> {

    // 店铺入驻：校验是否已经入驻过
    Shop loadByMessage(Shop shop);
    // 获取每一个店铺状态的数量
    List<ShopDto> getCountByState();
}
